<?php
	
	//Go here to edit any path names etc... 
	require('ws_WebService_base.php');
	$web_service = new WebService_base();
	require($web_service->wsdl_script());
	//Verify Freeway has enabled the Web Service
	if($web_service->ws_get_config()){
		if(is_file($web_service->load_class_file)){
			$display = new WSDLCreator($web_service->load, $web_service->ws_path_url.$web_service->wsdl_page().'?'.$web_service->wsdl_request().'='.$web_service->load);
			$display->addFile($web_service->ws_path_sys.$web_service->load_class_file);
			$display->setClassesGeneralURL($web_service->load, $web_service->ws_path_url.$web_service->wsdl_page().'?'.$web_service->wsdl_request().'='.$web_service->load);
			$display->addURLToClass($web_service->load, $web_service->ws_path_url.$web_service->wsdl_srvr().'?'.$web_service->wsdl_request().'='.$web_service->load);
			$display->createWSDL();
			$display->printWSDL();
		}
		else 
			echo"File Did Not Load" . $web_service->ws_path_url.$web_service->ws_wsdl.'?'.$web_service->ws_request.'='.$web_service->load; 
	}
	else{
		echo "You are not Authorized to View this Page";
	}

?>